/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp_imag.service;

import tp_imag.service.impl.ImageProcessorImpl;

/**
 *
 * @author Administrador
 */
public class ServiceFactory {

    private static ServiceFactory _instance = null;


    private ServiceFactory() {
    }

    public static ServiceFactory getInstance() {
        if (_instance == null) {
            _instance = new ServiceFactory();
        }
        return _instance;
    }

    public ImageProcessor getImageProcessorService() {
        return new ImageProcessorImpl();
    }

}
